﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" namespace="NHibernateLibrary.Entities" assembly="NHibernateLibrary">

  <class name="DesignationByHires" table="DESIGNATIONBYHIRES" mutable="false">

    <composite-id>
      <key-property name="Designation" column="DESIGNATION" length="100"></key-property>
      <key-property name="NoOfHires" column="NOOFHIRES" type="Int32"></key-property>
    </composite-id>

    <property name="Designation" column="DESIGNATION" length="100"></property>
    <property name="NoOfHires" column="NOOFHIRES" type="Int32"></property>

  </class>

</hibernate-mapping>